<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>5</title>
</head>
<body>
    <script>
        let uname = prompt("请输入你的姓名")
        let age = prompt("请输入你的年龄")
        document.write(`你的年龄是${age} 你的姓名是${uname}`)
    </script>
</body>
</html>